<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">

<load href='__PUBLIC__/lib/html5.js' />
<load href='__PUBLIC__/lib/respond.min.js' />
<load href='__PUBLIC__/lib/PIE_IE678.js' />

<load href='__PUBLIC__/css/H-ui.min.css' />
<load href='__PUBLIC__/css/H-ui.admin.css' />
<load href='__PUBLIC__/lib/icheck/icheck.css' />      
<load href='__PUBLIC__/lib/Hui-iconfont/1.0.1/iconfont.css' />

<script type="text/javascript" src="http://lib.h-ui.net/DD_belatedPNG_0.0.8a-min.js" ></script>
<script>DD_belatedPNG.fix('*');</script>

<title>添加商品</title>
</head>
<body>
  <nav class="breadcrumb"><i class="Hui-iconfont">&#xe67f;</i> 首页 <span class="c-gray en">&gt;</span> 商品中心 <span class="c-gray en">&gt;</span> 商品添加 <a class="btn btn-success radius r mr-20" style="line-height:1.6em;margin-top:3px" href="javascript:location.replace(location.href);" title="刷新" ><i class="Hui-iconfont">&#xe68f;</i></a></nav>
<div class="pd-20">

  <form action="{:U('vido_add')}" method="post" class="form form-horizontal" id="form-member-add" enctype='multipart/form-data'>

    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>商品类别：</label>
      <div class="formControls col-5">
        <select name='typeid' type="text" class="input-text" value="" placeholder="" id="member-name" datatype="*2-16">
          <option disabled>请选择...</option>
        <foreach name="list" item="vo" key="val">           
          <option value="{$vo.id}" >{$vo.name}</option>
          <foreach name="vo['a']" item="vo2" key="val2">
            <option value="{$vo2.id}">--{$vo2.name}</option>
             <!-- <foreach name="vo2['a']" item="vo3" key="val3">
              <option value="{$vo3.id}">----{$vo3.name}</option>
            </foreach> -->
          </foreach>
        </foreach>

      </select>
      
      </div>
      <div class="col-4"> </div>
    </div>
	<div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>商品名：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="" id="member-name" name="goods" datatype="*2-16" nullmsg="商品名不能为空">
      </div>
      <div class="col-4"> </div>
    </div>
    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>商品商家：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="" id="member-name" name="shop_name" datatype="*2-16" nullmsg="请注明商家">
      </div>
      <div class="col-4"> </div>
    </div>
    
	<div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>展示图片：</label>
      <div class="formControls col-5">
        <input type="file" class="input-text" value="" placeholder="" id="member-name" name="picname" datatype="*2-16" nullmsg="不能为空">
      </div>
      <div class="col-4"> </div>
    </div>
    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>单价：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="" id="member-name" name="price" datatype="*2-16" nullmsg="不能为空">
      </div>
      <div class="col-4"> </div>
    </div>
    <div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>库存：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="" id="member-name" name="store" datatype="*2-16" nullmsg="不能为空">
      </div>
      <div class="col-4"> </div>
    </div>
	
	
	
	<div class="row cl">
      <label class="form-label col-3"><span class="c-red">*</span>简介：</label>
      <div class="formControls col-5">
        <input type="text" class="input-text" value="" placeholder="" id="member-name" name="descr" datatype="*2-16" nullmsg="请写商品简介">
      </div>
      <div class="col-4"> </div>
    </div>
    

    <div class="row cl">
      <div class="col-9 col-offset-3">
        <input class="btn btn-primary radius" type="submit" value="&nbsp;&nbsp;提交&nbsp;&nbsp;">
        <input class="btn btn-primary radius" type="reset" value="&nbsp;&nbsp;取消&nbsp;&nbsp;">
      </div>
    </div>

  </form>
</div>
</div>

<load href='__PUBLIC__/lib/jquery/1.9.1/jquery.min.js' />
<load href='__PUBLIC__/lib/icheck/jquery.icheck.min.js' />
<load href='__PUBLIC__/lib/Validform/5.3.2/Validform.min.js' />

<load href='__PUBLIC__/lib/layer/1.9.3/layer.js' />      
<load href='__PUBLIC__/js/H-ui.js' />
<load href='__PUBLIC__/js/H-ui.admin.js' />

</body>
</html>
